import 'package:factoryside/generated/json/base/json_convert_content.dart';
import 'package:factoryside/generated/json/base/json_field.dart';

class CityListEntity with JsonConvert<CityListEntity> {
	@JSONField(name: "StatusCode")
	int statusCode;
	@JSONField(name: "Info")
	String info;
	@JSONField(name: "Count")
	int count;
	@JSONField(name: "Data")
	CityListData data;
}

class CityListData with JsonConvert<CityListData> {
	int code;
	String msg;
	int count;
	List<CityListDataData> data;
	String errcode;
	String errorId;
}

class CityListDataData with JsonConvert<CityListDataData> {
	@JSONField(name: "Code")
	int code;
	@JSONField(name: "Name")
	String name;
	@JSONField(name: "ParentCode")
	int parentCode;
	@JSONField(name: "ParentName")
	String parentName;
}
